home *** CD-ROM | disk | FTP | other *** search
/ Windows Game Programming for Dummies (2nd Edition) / WinGamProgFD.iso / mac / DirectX SDK / DXSDK / include / vpnotify.h < prev    next >
C/C++ Source or Header  |  2001-10-08  |  2KB  |  93 lines

  1. //------------------------------------------------------------------------------
  2. // File: VPNotify.h
  3. //
  4. // Desc: 
  5. //
  6. // Copyright (c) 1997-2001, Microsoft Corporation.  All rights reserved.
  7. //------------------------------------------------------------------------------
  8.  
  9.  
  10. #ifndef __IVPNotify__
  11. #define __IVPNotify__
  12.  
  13. #ifdef __cplusplus
  14. extern "C" {
  15. #endif
  16.  
  17. // interface IVPBaseNotify
  18. DECLARE_INTERFACE_(IVPBaseNotify, IUnknown)
  19. {
  20. public:
  21.     // this function initializes the reconnection to the decoder. 
  22.     STDMETHOD (RenegotiateVPParameters)(THIS_
  23.                    ) PURE;
  24.  
  25. };
  26.  
  27. // interface IVPNotify
  28. DECLARE_INTERFACE_(IVPNotify, IVPBaseNotify)
  29. {
  30. public:
  31.     // function to set the mode (bob, weave etc)
  32.     STDMETHOD (SetDeinterlaceMode)(THIS_ 
  33.                    IN AMVP_MODE mode
  34.                   ) PURE;
  35.  
  36.     // function to get the mode (bob, weave etc)
  37.     STDMETHOD (GetDeinterlaceMode)(THIS_ 
  38.                    OUT AMVP_MODE *pMode
  39.                   ) PURE;
  40. };
  41.  
  42. // interface IVPNotify
  43. DECLARE_INTERFACE_(IVPNotify2, IVPNotify)
  44. {
  45. public:
  46. // function to set the mode (bob, weave etc)
  47.     STDMETHOD (SetVPSyncMaster)(THIS_ 
  48.                    IN BOOL bVPSyncMaster
  49.                   ) PURE;
  50.  
  51.     // function to get the mode (bob, weave etc)
  52.     STDMETHOD (GetVPSyncMaster)(THIS_ 
  53.                    OUT BOOL *pbVPSyncMaster
  54.                   ) PURE;
  55.  
  56.     /*
  57.     // this function sets the directdraw surface that the mixer is supposed to use.
  58.     STDMETHOD (SetDirectDrawSurface)(THIS_ 
  59.                   IN LPDIRECTDRAWSURFACE pDirectDrawSurface
  60.                  ) PURE;
  61.  
  62.     // this function gets the directdraw surface that the mixer is using
  63.     STDMETHOD (GetDirectDrawSurface)(THIS_ 
  64.                   OUT LPDIRECTDRAWSURFACE *ppDirectDrawSurface
  65.                  ) PURE;
  66.  
  67.     // this functions sets the color-controls, if the chip supports it.
  68.     STDMETHOD (SetVPColorControls)(THIS_ 
  69.                  IN LPDDCOLORCONTROL pColorControl
  70.                 ) PURE;
  71.  
  72.     // this functions also returns the capability of the hardware in the dwFlags
  73.     // value of the struct.
  74.     STDMETHOD (GetVPColorControls)(THIS_ 
  75.                  OUT LPDDCOLORCONTROL *ppColorControl
  76.                 ) PURE;
  77.     */
  78. };
  79.  
  80.  
  81. // interface IVPVBINotify
  82. DECLARE_INTERFACE_(IVPVBINotify, IVPBaseNotify)
  83. {
  84. public:
  85. };
  86.  
  87. #ifdef __cplusplus
  88. }
  89. #endif
  90.  
  91.  
  92. #endif // __IVPNotify__
  93.